package com.proxy;

class FabricaProxy{
    
	public Persona createProxy(Class clase){
		net.sf.cglib.proxy.Enhancer e=new net.sf.cglib.proxy.Enhancer();
		e.setSuperclass(clase);
		e.setCallback(new PersonaProxy());
		return (Persona) e.create();
	}
}